package com.yuyou.hxyy.service.api.dto;

import java.util.Date;

/**
 * Created by yujin.liu on 2018/8/29.
 */
public class AuthUserDTO {

    /**
     * 主键
     */
    private Long authUserId;

    /**
     * 帐号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 名字
     */
    private String username;

    /**
     * 头像url
     */
    private String headImg;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 身份证
     */
    private String idCard;

    /**
     * 性别 0：男 1：女 2：未知
     */
    private Integer sex;

    /**
     * 年级
     */
    private Integer section;

    /**
     * 登录失败次数
     */
    private Integer loginErr;

    /**
     * 上次登录时间
     */
    private Date loginTime;

    /**
     * 帐号状态 0:禁用 1:正常
     */
    private Integer status;

    /**
     * 用户类型，0：学生，1：管理员
     */
    private Integer userType;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    public Long getAuthUserId() {
        return authUserId;
    }

    public void setAuthUserId(Long authUserId) {
        this.authUserId = authUserId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSection() {
        return section;
    }

    public void setSection(Integer section) {
        this.section = section;
    }

    public Integer getLoginErr() {
        return loginErr;
    }

    public void setLoginErr(Integer loginErr) {
        this.loginErr = loginErr;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
